package src.main.zhuangshiqi;
/**就业务的扩展*/
public class OldYWExtend implements OldYW{
    private OldImpl old;
    public OldYWExtend(OldImpl old){
        this.old=old;
    }
    @Override
    public void old() {
        old.old();
    }

    public  void oldExtend(){
        System.out.println("业务扩展。第二代业务");
    }
}
